package com.cosina.game.robodefence.dao;

import com.cosina.game.robodefence.data.MapsData;

public class MapsDao {

	public static String getMapNameBy(int id){
		return MapsData.data[id][0].toString();
	}

	public static int getMapCount(){
		return MapsData.data.length;
	}

	public static int getMapResId(int id){
		return (Integer)MapsData.data[id][1];
	}

	public static int[][] getWayDataById(int id){
		switch (id) {
		case 0:
			return MapsData.mapOneData;
		case 1:
			return MapsData.mapTwoData;
		}
		return new int[0][0];
	}
}
